var lpsesameusername=null;function window_load(B,A){lpsesameusername=(typeof(A.arguments)!="undefined"&&A.arguments.length>0&&typeof(A.arguments[0])!="undefined"&&typeof(A.arguments[0].username)!="undefined")?A.arguments[0].username:null;B.title=LP.lpgs("Sesame Multifactor Authentication");LP.sr(B,"lpsesame1","value","1. Run the LastPass Sesame application to generate a one time password");
LP.sr(B,"lpsesame2","value","2. Paste the one time password in the input box below and click 'Authenticate'");LP.sr(B,"lpsesameotp","value","");LP.sr(B,"lpbutton","label","Authenticate");LP.sr(B,"lpsesamelost","value","If you lost your Sesame device, click here to disable Sesame authentication");LP.sr(B,"lptrust","label","This computer is trusted, do not require a second form of authentication.");
LP.sr(B,"lplabeltext","value","Please provide this computer a name");B.getElementById("lpsesameotp").focus();if(A.arguments[0].username==null){B.getElementById("lpsesamelost").style.display="none";LP.sr(B,"lpsesame1","value","SesameOfflineStep1");LP.sr(B,"lpsesame2","value","SesameOfflineStep2")}}function lpsesameaccept(B,A){if(B.getElementById("lptrust").checked){if(B.getElementById("trustlabel").value==""){LP.alert(LP.lpgs("Please provide this computer a name"));